#!/usr/bin/env python

from distutils.core import setup

version_tuple = __import__('categories').VERSION
if version_tuple[2] is not None:
    version = '%d.%d_%s' % version_tuple
else:
    version = '%d.%d' % version_tuple[:2]

setup(
    name = 'categories',
    version = version,
    author = 'Brian Rosner',
    author_email = 'brosner@gmail.com',
    url = 'http://code.google.com/p/django-categories/',
    license = 'BSD',
    classifiers = [
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Utilities',
    ]
)